package com.poh.service;

import com.poh.pojo.SU;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SUService {
    int addSU(SU su);
    List<SU> querySUByUserIdAndCourseId(int userId, int courseId);
    SU querySUBySIdAndUserId(String sId, int userId);
    int updateSUStudentSingInStatus(String sId, int userId, int status);
    List<SU> querySingInStuBySid(String sId);
    int getCountSingIn(String sId, int stuSingInStatus);
    int getCountMySingIn(int userId, int courseId, int singInStatus);
}
